import request from '../utils/request'

// 获取首页轮播图的数据
export const getSwiper = () => {
  return request({
    url: 'home/swiper'
  })
}

// 获取首页租房小组的数据
export const getGroups = () => {
  return request({
    url: 'home/groups?area=AREA%7C88cff55c-aaa4-e2e0'
  })
}

// 获取首页最新资讯数据
export const getNews = () => {
  return request({
    url: 'home/news?area=AREA%7C88cff55c-aaa4-e2e0'
  })
}
